#ifndef MONTIONEVENT_H_
#define MONTIONEVENT_H_

#include <e32base.h>

class MotionEvent
	{
public:
	typedef enum tagMotionAction
		{
		EMotionActionDown
		, EMotionActionUp
		, EMotionActionMove
		} TMotionAction;
	
private:
	float x;
	float y;
	TMotionAction action;
	
public:
	inline float GetX() const
		{
		return x;
		}
	
	inline float GetY() const
		{
		return y;
		}
	
	inline TMotionAction GetAction() const
		{
		return action;
		}
	};

#endif /* MONTIONEVENT_H_ */
